package com.datasource.controller;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public class HomeController {

  @RequestMapping(value = "/", method = RequestMethod.GET)
  public String index() {
    return "hello world!";
  }
}
